﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using OgilvyOne.UKNow.Globalization;

namespace OgilvyOne.UKNow.BLL
{
    public class CnEnMappingFactory
    {
        public static ICnEnMapping CreateMappingBLL(int langID, int typeID)
        {
            ICnEnMapping mapping = null;
            if (typeID == 1)
                mapping = new EventsBLL(langID);
            else if (typeID == 2)
                mapping = new NewsBLL(langID);

            return mapping;
        }
    }
}
